package pagecode.pages.mantenimiento;

import org.apache.log4j.Logger;

import pagecode.PageCodeBase;

import javax.faces.component.html.HtmlCommandButton;
import javax.faces.component.html.HtmlOutputText;
import javax.faces.component.html.HtmlInputSecret;
//import com.ibm.faces.component.html.HtmlCommandExButton;
import javax.faces.component.html.HtmlMessages;

public class CambiarClaveBean extends PageCodeBase{
	
	private static Logger logger = Logger.getLogger(CambiarClaveBean.class);
	protected HtmlOutputText txtError;
	protected HtmlOutputText claveActual;
	protected HtmlInputSecret txtClaveActual;
	protected HtmlOutputText nuevaclave;
	protected HtmlInputSecret txtClaveNueva;
	protected HtmlOutputText nuevaclaveRepetir;
	protected HtmlInputSecret txtClaveNuevaRepetir;
	protected HtmlCommandButton btnBuscar;
	protected HtmlMessages errmessages1;
	protected HtmlOutputText getTxtError() {
		if (txtError == null) {
			txtError = (HtmlOutputText) findComponentInRoot("txtError");
		}
		return txtError;
	}
	protected HtmlOutputText getClaveActual() {
		if (claveActual == null) {
			claveActual = (HtmlOutputText) findComponentInRoot("claveActual");
		}
		return claveActual;
	}
	protected HtmlInputSecret getTxtClaveActual() {
		if (txtClaveActual == null) {
			txtClaveActual = (HtmlInputSecret) findComponentInRoot("txtClaveActual");
		}
		return txtClaveActual;
	}
	protected HtmlOutputText getNuevaclave() {
		if (nuevaclave == null) {
			nuevaclave = (HtmlOutputText) findComponentInRoot("nuevaclave");
		}
		return nuevaclave;
	}
	protected HtmlInputSecret getTxtClaveNueva() {
		if (txtClaveNueva == null) {
			txtClaveNueva = (HtmlInputSecret) findComponentInRoot("txtClaveNueva");
		}
		return txtClaveNueva;
	}
	protected HtmlOutputText getNuevaclaveRepetir() {
		if (nuevaclaveRepetir == null) {
			nuevaclaveRepetir = (HtmlOutputText) findComponentInRoot("nuevaclaveRepetir");
		}
		return nuevaclaveRepetir;
	}
	protected HtmlInputSecret getTxtClaveNuevaRepetir() {
		if (txtClaveNuevaRepetir == null) {
			txtClaveNuevaRepetir = (HtmlInputSecret) findComponentInRoot("txtClaveNuevaRepetir");
		}
		return txtClaveNuevaRepetir;
	}
	protected HtmlCommandButton getBtnBuscar() {
		if (btnBuscar == null) {
			btnBuscar = (HtmlCommandButton) findComponentInRoot("btnBuscar");
		}
		return btnBuscar;
	}
	protected HtmlMessages getErrmessages1() {
		if (errmessages1 == null) {
			errmessages1 = (HtmlMessages) findComponentInRoot("errmessages1");
		}
		return errmessages1;
	}

}
